package scjp.preparation.datastructure;

import java.util.Arrays;
import java.util.List;

class BinarySearchTest {
	public static void main(String[] args) {
		String[] strArr = { "21", "22", "11", "12", "13" };
		System.out.println("The given strArr is: " + Arrays.toString(strArr));
		int index = Arrays.binarySearch(strArr, "22");
		System.out.println("The index value is: " + index);
		List<String> l = Arrays.asList(strArr); 
		System.out.println(l);
	}
}
